﻿using System;
using System.Collections.Generic;
using System.Text;

namespace dllLink
{
    // "modèle" constante unidimensionnelle
    // classe provisoire pour tests
    internal class ModelCST : Model
    {
        private double a, b, sigma;

        public double getInitValue()
        {
            return b;
        }

        public double getA()
        {
            return a;
        }

        public double getB()
        {
            return b;
        }

        public double getSigma()
        {
            return sigma;
        }

        internal override void mSetParameters(Estimator theEstimator)
        {
            a = 1;
            b = 0.03;
            sigma = 0.02;
        }

        internal override void mSetParameters(double[] theParams)
        {
            a = 1;
            b = 0.03;
            sigma = 0.02;
        }

        internal override void mDiffuse(ref double theCurrentRate, double[] theParams)
        {
        }

    }
}
